<?php

namespace common\validate;


class ReportPush extends BaseValidate
{
    // 验证规则
    protected $rule = [];

    public function scenePushProjectRoleUserList()
    {
        return $this->append("param.project_id", "require|integer")
            ->append("param.time", "require|integer")
            ->append("param.role", "require|array");
    }

    public function sceneStepCategoryRemark()
    {
        return $this->append("step_category_ids", "require");
    }

}
